package com.qulai.amazon_us.domain.amazon_us;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qulai.common.annotation.Excel;
import com.qulai.common.core.domain.BaseEntity;

/**
 * 记录明细对象 amazon_us_record
 *
 * @author hunan
 * @date 2025-01-30
 */
public class AmazonUsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** SKU */
    @Excel(name = "SKU")
    private String sku;

    /** ASIN */
    @Excel(name = "ASIN")
    private String asin;

    /** 货源ID */
    @Excel(name = "货源ID")
    private Long basicId;

    /** 货源平台 */
    @Excel(name = "货源平台")
    private String basicPlatform;

    /** 货源SKU */
    @Excel(name = "货源SKU")
    private String basicSku;

    /** 价格 */
    @Excel(name = "价格")
    private String price;

    /** 库存 */
    @Excel(name = "库存")
    private Integer quantity;

    /** 运营 */
    @Excel(name = "运营")
    private String optName;

    /** 店铺 */
    @Excel(name = "店铺")
    private String shop;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 品牌缩写 */
    private String brandZip;

    /** 表格字段 */
    private String templateField;

    /** 大类目 */
    @Excel(name = "大类目")
    private String className;

    /** 小类目 */
    @Excel(name = "小类目")
    private String productType;

    /** 任务id */
    @Excel(name = "任务id")
    private Long uploadId;

    // 添加分页参数
    private Integer offset;
    private Integer limit;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setSku(String sku)
    {
        this.sku = sku;
    }

    public String getSku()
    {
        return sku;
    }
    public void setAsin(String asin)
    {
        this.asin = asin;
    }

    public String getAsin()
    {
        return asin;
    }
    public void setBasicId(Long basicId)
    {
        this.basicId = basicId;
    }

    public Long getBasicId()
    {
        return basicId;
    }
    public void setBasicPlatform(String basicPlatform)
    {
        this.basicPlatform = basicPlatform;
    }

    public String getBasicPlatform()
    {
        return basicPlatform;
    }
    public void setBasicSku(String basicSku)
    {
        this.basicSku = basicSku;
    }

    public String getBasicSku()
    {
        return basicSku;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setOptName(String optName)
    {
        this.optName = optName;
    }

    public String getOptName()
    {
        return optName;
    }
    public void setShop(String shop)
    {
        this.shop = shop;
    }

    public String getShop()
    {
        return shop;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setBrandZip(String brandZip)
    {
        this.brandZip = brandZip;
    }

    public String getBrandZip()
    {
        return brandZip;
    }
    public void setTemplateField(String templateField)
    {
        this.templateField = templateField;
    }

    public String getTemplateField()
    {
        return templateField;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }

    public void setUploadId(Long upload_id)
    {
        this.uploadId = upload_id;
    }

    public Long getUploadId()
    {
        return uploadId;
    }

    // getters and setters
    public Integer getOffset() { return offset; }
    public void setOffset(Integer offset) { this.offset = offset; }
    public Integer getLimit() { return limit; }
    public void setLimit(Integer limit) { this.limit = limit; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("status", getStatus())
                .append("sku", getSku())
                .append("asin", getAsin())
                .append("basicId", getBasicId())
                .append("basicPlatform", getBasicPlatform())
                .append("basicSku", getBasicSku())
                .append("price", getPrice())
                .append("quantity", getQuantity())
                .append("optName", getOptName())
                .append("shop", getShop())
                .append("brand", getBrand())
                .append("brandZip", getBrandZip())
                .append("templateField", getTemplateField())
                .append("className", getClassName())
                .append("productType", getProductType())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("updateBy", getUpdateBy())
                .append("uploadId", getUploadId())
                .append("offset", getOffset())
                .append("limit", getLimit())
                .toString();
    }
}
